package com.ruoyi.system.service.impl.shopping;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.shopping.AllProductsMapper ;
import com.ruoyi.system.domain.shopping.AllProducts ;
import com.ruoyi.system.service.shopping.IAllProductsService ;

@Service
public class AllProductsServiceImpl implements IAllProductsService {
    @Autowired
    private AllProductsMapper allProductsMapper;

    @Override
    public List<AllProducts> selectAllProductsList(AllProducts allProducts) {
        return allProductsMapper.selectAllProductsList(allProducts);
    }

    @Override
    public AllProducts selectAllProductsById(Long productId) {
        return allProductsMapper.selectAllProductsById(productId);
    }
}